//
//  PillowHomeCell.m
//  Lightthings
//
//  Created by 王岩 on 2025/2/13.
//

#import "PillowHomeCell.h"
#import "HomeItemModel.h"
@implementation PillowHomeCell

- (void)setModel:(HomeItemModel *)model {
    [super setModel:model];
    
    self.bgImg.image = U_imageNamed(model.img);
    self.smallImg.image = U_imageNamed(model.img2);
    self.titleLab.text = model.title;
    self.valueLab.attributedText = model.value;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    
    self.bgImg.layer.cornerRadius = 10;
    self.bgImg.layer.masksToBounds =  YES;
    
    // Initialization code
}

@end
